package api;

import com.zhon.baselib.retroft.BaseApiImpl;

import network.BaseURL;

public class MainService extends BaseApiImpl {

    private static MainService api = new MainService(BaseURL.URL);

    public MainService (String baseUrl) {
        super(baseUrl);
    }

    public static MainAPI getInstance() {
        return api.getRetrofit().create(MainAPI.class);
    }
}
